package com.aphrodite.ui.widgets.browser;

final class FontProperties {

	static int currentColor;
	static int currentStyle;

	static int prevColor;
	static int prevStyle;

	static void reset() {
		currentColor = prevColor;
		currentStyle = prevStyle;
	}

	final void set(FontInfo info) {
		prevColor = currentColor;
		prevStyle = currentStyle;
		currentColor = info.color;
		currentStyle = info.style;
	}
	// bold=1,italic=2,underline=4
}
